<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改大师</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="__STATIC__/admin/css/font.css">
    <link rel="stylesheet" href="__STATIC__/admin/css/xadmin.css">
    <link rel="stylesheet" href="https://cdn.bootcss.com/Swiper/3.4.2/css/swiper.min.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="https://cdn.bootcss.com/Swiper/3.4.2/js/swiper.jquery.min.js"></script>
    <script src="__STATIC__/admin/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="__STATIC__/admin/js/xadmin.js"></script>

</head>
<body>
    <!-- 中部开始 -->
     {include file="public:header"}
    <div class="wrapper">
         {include file="public:leftside"}
        <!-- 右侧主体开始 -->
        <div class="page-content">
          <div class="content">
            <!-- 右侧内容框架，更改从这里开始 -->
            <form class="layui-form" action="{:url('admin/master/update')}" method="post" enctype="multipart/form-data">
                <div class="layui-form-item">
                    <label for="L_email" class="layui-form-label">
                        <span class="x-red">*</span>大师名称
                    </label>
                    <div class="layui-input-inline">
                        <input type="text" id="master_name" name="master_name" value="{$master.master_name}"  class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="L_email" class="layui-form-label">
                        <span class="x-red">*</span>大师照片
                    </label>
                    <div class="layui-input-inline">
                        <input type="hidden" name="master_id" value="{$master.master_id}">
                        <input type="file" id="master_pic" name="master_pic"  value="{$master.master_pic}"  class="layui-input">
                    </div>
                </div>
                
                <div class="layui-form-item">
                    <label for="L_email" class="layui-form-label">
                        <span class="x-red">*</span>大师介绍
                    </label>
                    <div class="layui-input-inline">
                        <textarea id="master_intro" name="master_intro" l class="layui-textarea">{$master.master_intro}</textarea> 
                    </div>
                </div>
               
                
                
                <div class="layui-form-item">
                    <label for="L_repass" class="layui-form-label">
                    </label>
                    <input type="submit" name="修改"  class="layui-btn">
                    <input type="reset" name="重置" class="layui-btn ">
                </div>
            </form>
            <!-- 右侧内容框架，更改从这里结束 -->
          </div>
        </div>
        <!-- 右侧主体结束 -->
    </div>
    <!-- 中部结束 -->
    <script>
   function shut(){
    window.opener=null;
    window.open('','_self');
    window.close();
}
    </script>
</body>
</html>